package com.caiyigo.advancequery.model;

import java.util.Date;

public class TestModel {

	private Long id;
	@TableCell(index = 0, name = "姓名")
	private String name;
	@TableCell(index = 1, name = "工资/月")
	private Double salary;
	@TableCell(index = 2, name = "年龄")
	private Integer age;
	@TableCell(index = 3, name = "出生日期")
	private Date birthday;
	// 外键
	@TableCell(index = 4, name = "部门",service="/department/")
	private Long department;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Long getDepartment() {
		return department;
	}

	public void setDepartment(Long department) {
		this.department = department;
	}

}
